package com.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

@Entity
public class Urgency {
	private String urgencyid;
	private String sender;
	private String senddate;
	private String sendtime;
	private String urgencytitle;
	private String urgencycontent;
	private String urgencyhtml;
	private String accstuffs;
	private String readers;
	private String readdels;
	private String alreadyreaders;
	private String isreturn;
	private Astuff astuff;

	@OneToOne
	@JoinColumn(name = "sender", insertable = false, updatable = false)
	public Astuff getAstuff() {
		return astuff;
	}

	public void setAstuff(Astuff astuff) {
		this.astuff = astuff;
	}

	@Id
	public String getUrgencyid() {
		return urgencyid;
	}

	public void setUrgencyid(String urgencyid) {
		this.urgencyid = urgencyid;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getSenddate() {
		return senddate;
	}

	public void setSenddate(String senddate) {
		this.senddate = senddate;
	}

	public String getSendtime() {
		return sendtime;
	}

	public void setSendtime(String sendtime) {
		this.sendtime = sendtime;
	}

	public String getUrgencytitle() {
		return urgencytitle;
	}

	public void setUrgencytitle(String urgencytitle) {
		this.urgencytitle = urgencytitle;
	}

	public String getUrgencycontent() {
		return urgencycontent;
	}

	public void setUrgencycontent(String urgencycontent) {
		this.urgencycontent = urgencycontent;
	}

	public String getUrgencyhtml() {
		return urgencyhtml;
	}

	public void setUrgencyhtml(String urgencyhtml) {
		this.urgencyhtml = urgencyhtml;
	}

	public String getAccstuffs() {
		return accstuffs;
	}

	public void setAccstuffs(String accstuffs) {
		this.accstuffs = accstuffs;
	}

	public String getReaders() {
		return readers;
	}

	public void setReaders(String readers) {
		this.readers = readers;
	}

	public String getReaddels() {
		return readdels;
	}

	public void setReaddels(String readdels) {
		this.readdels = readdels;
	}

	public String getAlreadyreaders() {
		return alreadyreaders;
	}

	public void setAlreadyreaders(String alreadyreaders) {
		this.alreadyreaders = alreadyreaders;
	}

	public String getIsreturn() {
		return isreturn;
	}

	public void setIsreturn(String isreturn) {
		this.isreturn = isreturn;
	}
}
